{% extends 'base.html' %}
{% block content %}
<h1>Your Conversations</h1>
<a href="{% url 'conversation-create' %}">Start New Conversation</a>
<ul>
{% for conv in object_list %}
    <li>
        <a href="{% url 'conversation-detail' conv.id %}">
            With: {% if conv.participant1 == user %}{{ conv.participant2 }}{% else %}{{ conv.participant1 }}{% endif %}
        </a>
    </li>
{% endfor %}
</ul>
{% endblock %}